Skip to content

Conversation

@MrGeislinger
Copy link
Contributor

Description

This simply fixes the gcloud command to find the number of workers in a multihost run. It adds a "tpu-vm" as part of the subcommand in the gcloud command.

FIXES: #2781

Notice 1: Once all tests pass, the "pull ready" label will automatically be assigned.
This label is used for administrative purposes. Please do not add it manually.

Notice 2: For external contributions, our settings currently require an approval from a MaxText maintainer to trigger CI tests.

Tests

Running the following no longer stops on the error on L182:

python3 maxtext/tools/orchestration/multihost_runner.py \
  --ZONE=$ZONE \
  --TPU_PREFIX=$QR_NAME \
  --COMMAND="bash maxtext/tools/setup/setup.sh MODE=nightly LIBTPU_GCS_PATH=${LIBTPU_GCS_PATH}"

Checklist

Before submitting this PR, please make sure (put X in square brackets):

  • I have performed a self-review of my code. For an optional AI review, add the gemini-review label.
  • I have necessary comments in my code, particularly in hard-to-understand areas.
  • I have run end-to-end tests tests and provided workload links above if applicable.
  • I have made or will make corresponding changes to the doc if needed, including adding new documentation pages to the relevant Table of Contents (toctree directive) as explained in our documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

multihost_runner.py has incorrect gcloud command for finding number of workers

1 participant